@charset "utf-8";
html, body{
  /* height: 100%; width: 100%; */
}

.hidden {
  display: none !important;
}
.wrapper{ 
  border: 1px solid #ccc;
  position: absolute;
  left: 10px;
  top: 10px;
  right: 10px;
  bottom: 10px;
}

.placeholder {
  position: absolute;
  left: 10px;
  top: 10px;
  right: 10px;
  bottom: 10px;
  border: 2px dashed #e6e6e6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.placeholder a {
  margin-top: 16px;
  font-size: 18px;
  background: #00b7ee;
  border-radius: 3px;
  line-height: 44px;
  padding: 0 30px;
  width: 120px;
  color: #fff;
  display: inline-block;
  margin: 0 auto 20px auto;
  cursor: pointer;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
.placeholder a:hover {
  background: #00a2d4;
}

.result-wrapper {
  position: absolute;
  left: 12px; top: 12px; bottom: 12px; right: 12px;
  display: flex;
  flex-direction: column;
}
.result-wrapper .header {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #e6e6e6;
}
.result-wrapper .header p {
  flex: 1;
  font-size: 14px;
  color: #666666;
  margin: 0;
}
.result-wrapper .header .btn-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.result-wrapper .header .btn-group .btn {
  background: #ffffff;
  border: 1px solid #cfcfcf;
  color: #565656;
  padding: 6px 18px;
  border-radius: 3px;
  margin-left: 10px;
  cursor: pointer;
  font-size: 14px;
}
.result-wrapper .header .btn-group .btn:hover {
  opacity: .9;
}
.result-wrapper .header .btn-group .btn.upload {
  background: #00b7ee;
  color: #fff;
  border-color: transparent;
}

.result-wrapper .video-list {
  flex: 1;
  width: 100%;
  margin: 0 -3px;
}

.result-wrapper .video-list .item {
  background-color: #d4d4d8;
  width: 110px;
  margin: 12px 3px 0;
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.result-wrapper .video-list .item .progress-wrap {
  position: absolute;
  top: 0;
  left: 9999px;
  right: 0;
  bottom: 0;
  z-index: 99;
  background-color: rgba(0, 0, 0, .8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
}
.result-wrapper .video-list .item .progress-wrap img {
  width: 30px;
  animation: rotate-inf 1200ms linear infinite;
}
.result-wrapper .video-list .item .progress-wrap p {
  margin: 10px 0 0;
}
.result-wrapper .video-list .item.progress .progress-wrap {
  left: 0;
}
.result-wrapper .video-list .item .success-icon {
  background-image: url(./images/success.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  width: 40px;
  height: 40px;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 99;
  display: none;
}
.result-wrapper .video-list .item.success .success-icon {
  display: block;
}
.result-wrapper .video-list .item .status {
  height: 30px;
  background-color: rgba(0, 0, 0, .8);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: none;
  z-index: 99;
}
.result-wrapper .video-list .item .status .delete-icon {
  width: 24px;
  height: 24px;
  display: block;
  background: url(./images/icons.png) no-repeat;
  background-position: -44px -22px;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
.result-wrapper .video-list .item .status .delete-icon:hover {
  background-position: -44px 2px;
}
.result-wrapper .video-list .item.ready:hover .status, .result-wrapper .video-list .item.success:hover .status {
  display: block;
}
.result-wrapper .video-list .select-file-btn {
  background-color: #d4d4d8;
  width: 110px;
  margin: 12px 3px 0;
  display: inline-block;
  position: relative;
  overflow: hidden;
  height: 110px;
  background: url(./images/image.png) no-repeat center 12px;
  border: 1px solid #eeeeee;
  border-radius: 0;
  cursor: pointer;
}
.result-wrapper .video-list .item .img {
  width: 110px;
  height: 110px;
  position: relative;
}

.result-wrapper .video-list .item .img video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes rotate-inf {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}